package com.example.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @Author weiHuang.zhu
 * @Date 22/4/2023 上午9:53
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo(Integer id) {
        return "---PaymentFallbackService fall back ok";
    }

    @Override
    public String paymentInfo_timeout(Integer id) {
        return "---PaymentFallbackService fall back timeout ";
    }
}
